<!DOCTYPE html>
<html>
  <head>
    <title><%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
    <%= stylesheet_link_tag "application" %>
    <%= javascript_include_tag :defaults %>
    <%= csrf_meta_tag %>
    <%= yield(:head) %>
  </head>
  <body>
    <div id="container">
    	<%= link_to "Main", main_path %>
    	
    	<%= link_to "Manual load", loaddata_path %>
    	-
    	<%= link_to "Services summary", service_information_tables_path %>
    	-
    	<%= link_to "Group information", group_informations_path %>
    	-
    	<%= link_to "Search", search_path %>
      <% flash.each do |name, msg| %>
        <%= content_tag :div, msg, :id => "flash_#{name}" %>
      <% end %>
      <%= content_tag :h1, yield(:title) if show_title? %>
      <%= yield %>
    </div>
  </body>
</html>
